<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="base.jsp"%>
<!-- 这边是left的抽取，原理是：我在每一个页面中都弄了一个pageContent.setAttribute（"left",""）的页面值，这些页面的值会根据下面的if语句
	 来选取那个标签页会添加class="active"和图标变白的属性。。。这个jsp是直接用了。。不用任何的设置
 -->
<div class="span3">
			<div style="padding: 8px 0;" class="well">
				<ul class="nav nav-list">
				  <li class="nav-header">新Apple总部项目</li>
				  <li class="divider"></li>
				  <!-- 最新动态 -->
				  <c:choose>
				  	<c:when test="${left == 'new'}">
				  		<li class="active"><a href="#"><i class="icon-white icon-home"></i>最新动态</a></li>
				  	</c:when>
				  	<c:otherwise>
				  		<li><a href="#"><i class="icon-home"></i>最新动态</a></li>
				  	</c:otherwise>
				  </c:choose>
				  
				  <!-- 目标 -->
				  <c:choose>
				  	<c:when test="${left == 'goal'}">
				  		<li class="active"><a href="#"><i class="icon-white icon-flag"></i>目标</a></li>
				  	</c:when>
				  	<c:otherwise>
				  		<li><a href="#"><i class="icon-flag"></i>目标</a></li>
				  	</c:otherwise>
				  </c:choose>
				  
				  <!-- 资料库 -->
				  <c:choose>
				  	<c:when test="${left == 'data' }">
				  		<li class="active"><a href="#"><i class="icon-white icon-folder-open"></i>资料库</a></li>
				  	</c:when>
				  	<c:otherwise>
				  		<li><a href="#"><i class="icon-folder-open"></i>资料库</a></li>
				  	</c:otherwise>
				  </c:choose>
				  
				  <!-- 文件共享 -->
				  <c:choose>
				  	<c:when test="${left == 'file'}">
				  		<li class="active"><a href="#"><i class="icon-white icon-file"></i>文件共享</a></li>
				  	</c:when>
				  	<c:otherwise>
				  		<li><a href="#"><i class="icon-file"></i>文件共享</a></li>
				  	</c:otherwise>
				  </c:choose>
				  
				  <!-- 联系人 -->
				  <c:choose>
				  	<c:when test="${left == 'contact'}">
				  		<li class="active"><a href="#"><i class="icon-white icon-user"></i>联系人</a></li>
				  	</c:when>
				  	<c:otherwise>
				  		<li><a href="#"><i class="icon-user"></i>联系人</a></li>
				  	</c:otherwise>
				  </c:choose>
				  
				  <!-- 想法 -->
				  <c:choose>
				  	<c:when test="${left == 'idea'}">
				  		<li class="active"><a href="#"><i class="icon-white icon-fire"></i>想法</a></li>
				  	</c:when>
				  	<c:otherwise>
				  		<li><a href="#"><i class="icon-fire"></i>想法</a></li>
				  	</c:otherwise>
				  </c:choose>
				  
				  <!-- bug -->
				  <c:choose>
				  	<c:when test="${left == 'bug'}">
				  		<li class="active"><a href="#"><i class="icon-white icon-warning-sign"></i>Bug</a></li>
				  	</c:when>
				  	<c:otherwise>
				  		<li><a href="#"><i class="icon-warning-sign"></i>Bug</a></li>
				  	</c:otherwise>
				  </c:choose>
				  
				  <!-- 项目设置 -->
				  <c:choose>
				  	<c:when test="${left == 'set'}">
				  		<li class="active"><a href="#"><i class="icon-white icon-cog"></i>项目设置</a></li>
				  	</c:when>
				  	<c:otherwise>
				  		<li><a href="#"><i class="icon-cog"></i>项目设置</a></li>
				  	</c:otherwise>
				  </c:choose>
				  
				</ul>
			</div>
		</div>